package cn.stylefeng.guns.modular.manager.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 会员红包活动
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_member_coupon_activity")
public class FlowMemberCouponActivity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "coupon_activity_id", type = IdType.AUTO)
    private Long couponActivityId;

    @TableField("activity_title")
    private String activityTitle;

    @TableField("price")
    private BigDecimal price;

    @TableField("out_date")
    private Integer outDate;

    @TableField("onprice")
    private BigDecimal onprice;

    @TableField("service_type")
    private Long serviceType;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField("activity_type")
    private Integer activityType;

    @TableField("status")
    private Integer status;

    @TableField(exist = false)
    private String serviceName;

    @TableField(exist = false)
    private Integer isGet;

    public Integer getIsGet() {
        return isGet;
    }

    public void setIsGet(Integer isGet) {
        this.isGet = isGet;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public Long getCouponActivityId() {
        return couponActivityId;
    }

    public void setCouponActivityId(Long couponActivityId) {
        this.couponActivityId = couponActivityId;
    }

    public String getActivityTitle() {
        return activityTitle;
    }

    public void setActivityTitle(String activityTitle) {
        this.activityTitle = activityTitle;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getOutDate() {
        return outDate;
    }

    public void setOutDate(Integer outDate) {
        this.outDate = outDate;
    }

    public BigDecimal getOnprice() {
        return onprice;
    }

    public void setOnprice(BigDecimal onprice) {
        this.onprice = onprice;
    }

    public Long getServiceType() {
        return serviceType;
    }

    public void setServiceType(Long serviceType) {
        this.serviceType = serviceType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getActivityType() {
        return activityType;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "FlowMemberCouponActivity{" +
                "couponActivityId=" + couponActivityId +
                ", activityTitle=" + activityTitle +
                ", price=" + price +
                ", outDate=" + outDate +
                ", onprice=" + onprice +
                ", serviceType=" + serviceType +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", activityType=" + activityType +
                ", status=" + status +
                "}";
    }
}
